import request from '@/utils/request'

// 查询人员考核列表
export function listFilePersonAssess(query) {
  return request({
    url: '/business/FilePersonAssess/list',
    method: 'get',
    params: query
  })
}

// 查询人员考核详细
export function getFilePersonAssess(id) {
  return request({
    url: '/business/FilePersonAssess/' + id,
    method: 'get'
  })
}

// 新增人员考核
export function addFilePersonAssess(data) {
  return request({
    url: '/business/FilePersonAssess',
    method: 'post',
    data: data
  })
}

// 修改人员考核
export function updateFilePersonAssess(data) {
  return request({
    url: '/business/FilePersonAssess',
    method: 'put',
    data: data
  })
}

// 删除人员考核
export function delFilePersonAssess(id) {
  return request({
    url: '/business/FilePersonAssess/' + id,
    method: 'delete'
  })
}
